namespace Gateway.IQuery.Webide.Request;

/// <summary>
/// 代码示例
/// </summary>
public class LanguageExampleConfig
{
    /// <summary>
    /// 例子
    /// </summary>
    public string Code { get; set; }
    /// <summary>
    /// 输入代码的文件名
    /// </summary>
    public string File { get; set; }

    /// <summary>
    /// 执行主程序的文件名
    /// </summary>
    public string ExecFile { get; set; }

    /// <summary>
    /// 测试用例
    /// </summary>
    public List<string> TestCase { get; set; } = new List<string>(0);

    /// <summary>
    /// 答案
    /// </summary>
    public List<string> Answer { get; set; } = new List<string>(0);
    /// <summary>
    /// 扩展代码
    /// </summary>
    public List<ExtensionCodeConfig> ExtensionCodes { get; set; }
}